package com.liuyi.liuyimodulardemo.crypto;

import com.liuyi.framework.web.encrypt.Rsa;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author Mr.Fmy
 * @since 2021-02-07
 */
@ConfigurationProperties(value = "spring.crypto.request")
@Component
public class RsaYml {

    private List<Rsa> rsa;

    public List<Rsa> getRsa() {
        return rsa;
    }

    public void setRsa(List<Rsa> rsa) {
        this.rsa = rsa;
    }
}
